<template>
    <div>
        <el-container>
            <el-header>
                <v-top></v-top>
            </el-header>
            <el-container>
                <!-- 左侧栏 -->
                <el-aside width="240px">
                    <v-menu></v-menu>
                </el-aside>
                <!-- 主要区域 -->
                <transition name="el-fade-in-linear">
                    <el-main>
                        <router-view></router-view>
                    </el-main>
                </transition>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import vMenu from "../components/vMenu.vue";
import vTop from "../components/vTop.vue";
export default {
    components: {
        vMenu,
        vTop,
    },
};
</script>

<style scoped>
.el-header {
    position: relative;
    background-color: skyblue;
    color: #fff;
    text-align: center;
    line-height: 60px;
}
</style>
